//
// Created by haoy on 2017/7/3.
//

#ifndef MERGE_FILE_HPP
#define MERGE_FILE_HPP

#include <cstdint>
#include <fstream>
#include <ios>
#include <string>

class file {
public:
    file(int id, const std::string& path_name) :id(id), path_name(path_name) {}
    int id;
    std::string path_name;
    uint64_t begin_ts;
    uint64_t duration_ms;
    // is_concat indicate this file should be concat to last file
    bool is_concat = false;
};

#endif //MERGE_FILE_HPP
